#ifndef TOOLBAR_H
#define TOOLBAR_H

#include <QToolBar>
#include <QAction>

class ToolBar : public QToolBar
{
    Q_OBJECT
public:

    enum Role {
        MainToolBar
    };

    ToolBar(const QString &title = QString(), QWidget *parent = 0);

    void setRole(Role role);
    
private:
    void setupMainRole();

signals:
    
public slots:

};

class ToolBarAction : public QAction
{
    Q_OBJECT
public:
    ToolBarAction(const QIcon &icon, const QString &text, QObject * parent = 0);
};

#endif // TOOLBAR_H
